package com.szpxt.action;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.szpxt.service.OrganizationService;

@Component @Scope("prototype")
public class OrganizationAction {

	private OrganizationService organizationService;
	
	public void listTree() {
		organizationService.getAll();
	}

	//获取和设置方法
	public OrganizationService getOrganizationService() {
		return organizationService;
	}

	public void setOrganizationService(OrganizationService organizationService) {
		this.organizationService = organizationService;
	}
}
